<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>表单项标签</title>
	</head>
	<body>
		<form action="#" method="post">
			<!-- 隐藏域 -->
			<input type="hidden" name="" id="uid" value="heima001" />
			<!-- 文本输入框 -->
			<label for="username">用户名:</label>
			<input type="text" name="username" id="username" /><br>
			
			<!-- 密文输入框 -->
			<label for="passoword">密&nbsp;&nbsp;&nbsp;码:</label>
			<input type="password" name="password" id="passoword" /><br>
			性&nbsp;&nbsp;&nbsp;别:
			<!-- 单选框 checked 设置默认值  -->
			<input type="radio" name="gender" id="male" value="1" /><label for="male">男</label>
			<input type="radio" name="gender" id="female" value="0" /><label for="female">女</label>
			<br>
			爱&nbsp;&nbsp;&nbsp;好:
			<!-- 多选框 -->
			<input type="checkbox" name="hobby" value="1" id="h1" /><label for="h1">旅游</label>
			<input type="checkbox" name="hobby" value="2" id="h2" /><label for="h2">电影</label>
			<input type="checkbox" name="hobby" value="3" id="h3" /><label for="h3">游戏</label>
			
			<br>
			<!-- 文件上传 -->
			头像:<input type="file" name="hid"/>
			<br>
			
			城市:
			<!-- 下拉列表 -->
			<select>
				<option value ="beijing">北京</option>
				<option value ="shanghai">上海</option>
				<option value ="guangzhou">广州</option>
			</select>
			<br>
			
			<label>简介:</label>
			<!-- 多行文本输入框 -->
			<textarea rows="3" cols="20" name="desc"></textarea>
			<br>
			<!-- 提交按钮 -->
			<input type="button" value="提交" />
			<input type="reset" name="" id="" value="重置" />
			<button type="button">按钮</button>
			
		</form>
		
	</body>
</html>